<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ page import="java.util.Map" %>
<%@ page import="system.config.HHConfig, com.xyrj.html.HHHtml, com.xyrj.utils.HHString" %>
<% 
    Map record   = (Map)request.getAttribute("record");
    String imagePath = HHString.objToString(record.get("image_path"));
    if(null == imagePath || imagePath.equals("")) {
        imagePath = "";
    } else {
    	imagePath = HHConfig.SITE_URL + "/" + imagePath;    
    }
%>
<p>
    <label>类型图片 <%=HHHtml.a(imagePath, "- 查看图片", "info_image_id","info-image lightbox", "用户图片") %> </label>
    <input type="file" name="image_path" />
    <input type="hidden" value="<%=imagePath %>" name="old_image_path" />
    <br /><small>类型标识图片，支持的图片类型：*.jpg, *.png, *.bmp, *.gif；大小：小于2M。</small>
</p>